package com.fd.dx.mapper;

import com.fd.dx.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * Created by lenovo on 2018/2/1.
 */
@Mapper
public interface UserMapper {
    @Select("SELECT * FROM public.USER WHERE username = #{username}")
    public User findByName(@Param("username") String username);
}
